<?php

declare(strict_types=1);

namespace app\admin\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class ProductRelation extends Model
{
    //
    protected $table = 'db_product_relation';

    public function product()
    {
        return $this->belongsTo(Product::class, 'pid', 'id');
    }
}
